﻿@using XStudio.XCRF.Data.Entities.BasicInfo
@using XStudio.XCRF.Web.Models.Enums
@model IEnumerable<BasicOtherMerge>
@(Html.Telerik().Grid(Model).Name("BasicOtherMergeViewGrid").Footer(false)
.Columns(columns =>
{
    columns.ForeignKey(merge => merge.Diagnose, DiagnoseTypeInfo.SelectListItems, "Value", "Text").Title("疾病诊断");
    columns.Bound(merge => merge.DrugName).Title("所用药物通用名");
    columns.Bound(merge => merge.Dose).Title("日剂量");
    columns.Template(@<text> @item.StartTime 至 @item.EndTime</text>)
        .Title("用药起止时间");
    columns.Bound(merge => merge.Effect).Title("治疗效果");
    
}))